package com.yesep.learn.design.behavioral.interpreter.calculator;

public class NumberExpression implements IExpression {
    private final int number;

    public NumberExpression(int number) {
        this.number = number;
    }

    @Override
    public double interpret(Context context) {
        return number;
    }
}